load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test")

go_library(
    name = "go_default_library",
    srcs = [
        "doc.go",
        "flock.go",
        "flock_unix.go",
        "flock_windows.go",
    ],
    importpath = "github.com/google/gapid/core/os/flock",
    visibility = ["//visibility:public"],
)

go_test(
    name = "go_default_test",
    srcs = ["flock_test.go"],
    embed = [":go_default_library"],
    deps = ["//core/assert:go_default_library"],
)
